package persistencia;

import java.sql.Connection;
import java.sql.DriverManager;


public class ConexaoBanco {
	Connection conn = null;
    public static Connection connectDB (){
        try{
            Class.forName("org.mysql.JDBC.Driver");
            
            Connection conn = DriverManager.getConnection("jdbc:mysql://186.212.110.78:3306/dwhbd");
          
            return conn;
            
        }catch(Exception e){
           System.out.println("deu merda");
           return null;
        }
    }
}
